home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12335 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: newsflash.hol.gr!news
  2. From: john <vjohn@prometheus.hol.gr>
  3. Newsgroups: comp.programming,comp.lang.c,comp.programming,comp.os.ms-windows.programmer.misc
  4. Subject: BWC++.   PLEASE  H E L P , Runtime E R R O R ->->->->-> H E L P
  5. Date: Sat, 30 Mar 1996 20:18:25 +0200
  6. Organization: Hellas On Line
  7. Message-ID: <315D7AF1.7E6@prometheus.hol.gr>
  8. NNTP-Posting-Host: cronos.hol.gr
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win95; I)
  13.  
  14. Please consider the following.
  15.  
  16. I have this class ...
  17.  
  18.   Class MyDialog : TDialog
  19.     {
  20.       public :
  21.         MyDialog(TWindows* aParent) :: TDialog(aParend, "MyDialog_RC") //
  22.         //  i have try and this one 
  23.         //  MyDialog(TWindows* aParent) :: TDialog(aParend, TResId("MyDialog_RC"))
  24.         //  
  25.           {
  26.                ...........
  27.           }
  28.         .......
  29.         .......
  30.     }
  31.  
  32. and I call MyDialog class ...
  33.  
  34.    (new MyDialog(this))->Execute());
  35. or
  36.    MyDialog(this).Execute();
  37.      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  38. Is correct ?????
  39.  
  40. * Notice that i dont get compiling erros *
  41.  
  42. When BC++ is loaded and i run the program no error occurs. (maybe a DLL is not loading)
  43.           ^^^^^^^^^
  44.  
  45. I close BC++(4.5), I run the program and get the bellow error,
  46. when from my application's menu call MyDialog Dialog.
  47.  
  48.  
  49.         +---------------------------+
  50.         | Object Windows Exception  |
  51.         +---------------------------+
  52.         | Execute Fail for window   |
  53.         |  Ok to resume ?           |
  54.         |                           |
  55.         |       YES   NO            |
  56.         +---------------------------+
  57.  
  58. Please. help me.
  59.  
  60. Thanks in advance John Vossos
  61.  
  62. Send replies to vjohn@prometheus.hol.gr
  63.  
  64. -----------------------------
  65.